package com.jy.rhin.model.body.zhuanzhenjl;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Getter;
import lombok.Setter;

/**
 * 检查检验
 */
@Getter
@Setter
public class ShiYanShiJCJY {
    /**
     * 检查类别
     */
    @XPath(path = "/entry/observation/code[@code='DE04.30.015.05']/../value/text()")
    private String jianChaLB;

    /**
     * 检查项目名称
     */
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE04.30.015.04']/../value/text()")
    private String jianChaXMMC;

    /**
     * 检查项目代码
     */
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE04.30.015.03']/../value/text()")
    private String jianChaXMDM;

    /**
     * 检查结果代码
     */
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE04.30.015.06']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_30_015_06))
    private CodeObject jianChaJGDM;

    /**
     * 检查定量结果
     */
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE04.30.015.01']/../value/@value")
    private String jianChaDLJG;

    /**
     * 检查计量单位
     */
    @XPath(path = "/entry/organizer/component/observation/entryRelationship/observation/code[@code='DE04.30.015.02']/../value/text()")
    private String jianChaJLDW;
}
